package com.yxx.business.mapper;

import java.util.List;

import com.yxx.business.entity.TbProjectEngineeringDo;
import com.yxx.business.entity.TbProjectEngineeringQueryDto;
import com.yxx.common.core.mapper.BaseMapperPlus;

/**
 * 项目-工程关联Mapper接口
 *
 * @author yxx
 * @date 2025-08-03
 */
public interface TbProjectEngineeringMapper extends BaseMapperPlus<TbProjectEngineeringDo> {

    /**
     * 查询项目-工程关联列表
     *
     * @param tbProjectEngineeringQueryDto 项目-工程关联查询实体
     * @return 项目-工程关联集合
     */
    public List<TbProjectEngineeringDo> selectTbProjectEngineeringList(TbProjectEngineeringQueryDto tbProjectEngineeringQueryDto);

    /**
     * 查询项目-工程关联
     *
     * @param id 项目-工程关联主键
     * @return 项目-工程关联单个
     */
    public TbProjectEngineeringDo selectTbProjectEngineeringById(Long id);

    /**
     * 新增项目-工程关联
     *
     * @param tbProjectEngineeringDo 项目-工程关联数据库实体
     * @return 结果
     */
    public int insertTbProjectEngineering(TbProjectEngineeringDo tbProjectEngineeringDo);

    /**
     * 修改项目-工程关联
     *
     * @param tbProjectEngineeringDo 项目-工程关联数据库实体
     * @return 结果
     */
    public int updateTbProjectEngineering(TbProjectEngineeringDo tbProjectEngineeringDo);

    /**
     * 删除项目-工程关联
     *
     * @param id 项目-工程关联主键
     * @return 结果
     */
    public int deleteTbProjectEngineeringById(Long id);

    /**
     * 批量删除项目-工程关联
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTbProjectEngineeringByIds(List<Long> ids);
}
